package org.aurora.core.biz.persistence;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.aurora.model.entity.SchedulerInfo;
import org.aurora.model.entity.SlotAssignInfo;

import java.util.List;

@Mapper
public interface SchedulerMapper {
    @Select("select * from scheduler where state = #{state}")
    List<SchedulerInfo> getAllSchedulersByState(@Param("state") int state);
}

